#ifndef  GSMEG_LINK_MANAGER_H
#define  GSMEG_LINK_MANAGER_H
#include "z_base_api.h"
#include "convert_handler.h"
#include "gsmeg.h"
#include "gsmeg_link_map.h"

#define cmd_gsmeg_login_req 0x00011
#define cmd_gsmeg_login_rsp 0x10011
#define cmd_gsmeg_repair_req 0x00016
#define cmd_gsmeg_repair_rsp 0x10016


void cb_on_gsmeg_link_connected(z_hash_t *link_map,int channel,char *dev_name,long long dev_id);
void cb_on_gsmeg_link_disconnected(z_hash_t *link_map,int channel);
int gsmeg_login_rsp_handler(z_hash_t *link_map,z_hash_t *gsmeg_hash,int channel);
int gsmeg_repair_rsp_handler(z_hash_t *link_map,z_hash_t *gsmeg_hash,int channel);
void send_gsmeg_repair_req(z_hash_t *gsmeg_link_hash,int flow_type,long long seq_no);

#endif   /* GSMEG_LINK_MANAGER_H */

